package com.ruoyi.teaching.domain;

import java.time.LocalDateTime;
import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableName;

/**
  * <p>
  *
  * </p>
  *
  * @author 王旭
  * @since 2024-06-13
  */
@Data
@TableName("platform_c_course")
@ApiModel(value="PlatformCCourse对象", description="")
public class PlatformCCourse implements Serializable {
    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "备课id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "备课方式（0本地添加，1外部添加）")
    private Integer courseType;

    @ApiModelProperty(value = "授课老师姓名")
    private String teacherName;

    @ApiModelProperty(value = "专业类id")
    private Integer professionalCategoryId;

    @ApiModelProperty(value = "专业id")
    private Integer professionalId;

    @ApiModelProperty(value = "专业小类名称")
    private String professionalSmallName;

    @ApiModelProperty(value = "课程可见（0云课堂，1专业授课，2仅自己可见）")
    private Integer courseVisible;

    @ApiModelProperty(value = "课程状态（0开课中，1结课）")
    private Integer courseStatus;

    @ApiModelProperty(value = "课程名称")
    private String courseName;

    @ApiModelProperty(value = "课程封面")
    private String courseImage;

    @ApiModelProperty(value = "课程介绍")
    private String courseIntroduce;

    @ApiModelProperty(value = "外部课程链接")
    private String courseUrl;

    @ApiModelProperty(value = "审核状态（0未审核，1已通过，2未通过）")
    private Integer vettingStatus;

    @ApiModelProperty(value = "未通过类型（0内容质量低1涉嫌抄袭2版权问题3其它）")
    private Integer notPassingType;

    @ApiModelProperty(value = "未通过原因")
    private String notPassingReason;

    @ApiModelProperty(value = "平均评分")
    private Double grade;

    @ApiModelProperty(value = "创建者id")
    private Integer createId;

    @ApiModelProperty(value = "创建者")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "更新者id")
    private Integer updateId;

    @ApiModelProperty(value = "更新者")
    private String updateBy;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "备注")
    private String remark;



}
